<admintpl file="header" />
<link href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link href="http://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<link href="__TMPL__Public/assets/css/dashboard.css" rel="stylesheet" />
<style type="text/css">
    .toolbar-title {
        width: 100%;
        height: 2.5em;
        margin-bottom: 15px;
        border-bottom: 2px solid #dac2c2;
        border-bottom: #dac2c2 2px solid;
    }

    .toolbar-title h4 {
        display: inline-block;
        width: 200px;
    }

    .toolbar-title .btn-more {
        line-height: 2.5em;
        margin-right: 12px;
    }
</style>
</head>
<body>
    <div class="wrap">
        <div class="container-fluid">
            <!--四个快捷入口-->
            <div class="row">
                <div class="col-md-3 col-sm-3 col-xs-6">
                    <figure class="snip1174 navy ">
                        <img src="__PUBLIC__/images/tz.jpg" class="img-responsive" alt="图纸信息" />
                        <figcaption>
                            <h2>图纸信息</h2>
                            <p>
                                模块的详细介绍
                            </p>
                            <a href="#">查看</a>
                        </figcaption>
                    </figure>
                </div>
                <div class="col-md-3 col-sm-3 col-xs-6">
                    <figure class="snip1174 red">
                        <img src="__PUBLIC__/images/mx.jpg" class="img-responsive" alt="模型信息" />
                        <figcaption>
                            <h2>模型信息</h2>
                            <p>
                                模块的详细介绍
                            </p>
                            <a href="#">查看</a>
                        </figcaption>
                    </figure>
                </div>
                <div class="col-md-3 col-sm-3 col-xs-6">
                    <figure class="snip1174 green">
                        <img src="__PUBLIC__/images/cg.jpg" class="img-responsive" alt="成果文件" />
                        <figcaption>
                            <h2>成果文件</h2>
                            <p>
                                模块的详细介绍
                            </p>
                            <a href="#">查看</a>
                        </figcaption>
                    </figure>
                </div>
                <div class="col-md-3 col-sm-3 col-xs-6">
                    <figure class="snip1174 blue">
                        <img src="__PUBLIC__/images/rz.jpg" class="img-responsive" alt="共享日志" />
                        <figcaption>
                            <h2>考勤记录</h2>
                            <p>
                                模块的详细介绍
                            </p>
                            <a href="javascript:window.top.openapp('/index.php?g=Admin&m=Attendance&a=index','288Admin','考勤管理',true);">查看</a>
                        </figcaption>
                    </figure>
                </div>
            </div>

            <!--项目动态 通知公告-->
            <div class="row">
                <div class="col-md-8">
                    <div class="container-fluid" style="padding-left:0; padding-right:0">
                        <div class="rectangle-left well">
                            <div class="toolbar-title">
                                <h4 >项目动态</h4>
                                <a class="btn-more pull-right" href="javascript:window.top.openapp('/index.php?g=Admin&m=News&a=index','245Admin','项目动态',true);">更多</a>
                            </div>

                            <div id="newsCarousel" class="carousel slide" data-ride="carousel">
                                <!-- Wrapper for slides -->
                                <div class="carousel-inner col-sm-8" style="padding-left:0;">
                                </div>

                                <ul class="list-group col-sm-4"></ul>
                                <!-- Controls -->
                                <div class="carousel-controls">
                                    <a class="left carousel-control" href="#newsCarousel" data-slide="prev">
                                        <span class="glyphicon glyphicon-arrow-left"></span>
                                    </a>
                                    <a class="right carousel-control" href="#newsCarousel" data-slide="next">
                                        <span class="glyphicon glyphicon-arrow-right"></span>
                                    </a>
                                </div>
                            </div><!-- End Carousel -->
                        </div>
                    </div>
                </div>
                
                <div class="col-md-4">
                    <div class="rectangle-list well">
                        <div class="toolbar-title">
                            <h4>通知公告</h4>
                            <a class="btn-more pull-right" href="javascript:window.top.openapp('/index.php?g=Admin&m=News&a=notice','246Admin','通知公告',true);">更多</a>
                        </div>
                        
                        <ol id="notices">
                            <!--<li><p><a>发《节能产品政府采政府采购...       </a></p></li>-->
                        </ol>

                    </div>

                </div>

            </div>
            <!-- Small boxes (Stat box) -->
            <!--文字列表-->
            <div class="row">
                <if condition="$_SESSION['department_role'] eq 1 or $_SESSION['department_role'] eq 0">
                <div class="col-md-4">
                    <div class="offer offer-radius offer-info" id="jszb">
                        <div class="shape">
                            <div class="shape-text">
                                top 5
                            </div>
                        </div>
                        <div class="offer-content">
                            <h3 class="lead" style="font-size:16px;">
                                建设单位周工作计划及完成情况小结
                            </h3>

                            <ul>
                                <li><a href="#">关于印发《节能产品政府采购...</a></li>
                                <li><a href="#">关于举办地方采购业务工作培...</a></li>
                                <li><a href="#">关于举中央单府采购业务工作...</a></li>
                                <li><a href="#">关于做好政府有关信用主体...</a></li>
                                <li><a href="#">关于《政理机构管理办法（征...</a></li>
                            </ul>
                            <p class="read-more">
                                <a href="javascript:window.top.openapp('/index.php?g=Admin&m=ConstructionWeeklyReport&a=index','252Admin','建设周报',true);" class="btn btn-link">更多...</a>
                            </p>
                        </div>
                    </div>
                </div>
                </if>
                <if condition="$_SESSION['department_role'] eq 1 or $_SESSION['department_role'] eq 2 or $_SESSION['department_role'] eq 0">
                <div class="col-md-4">
                    <div class="offer offer-radius offer-success" id="djzb">
                        <div class="shape">
                            <div class="shape-text">
                                top 5
                            </div>
                        </div>
                        <div class="offer-content">
                            <h3 class="lead" style="font-size:16px;">
                                代建单位周工作计划及完成情况小结
                            </h3>

                            <ul>
                                <li><a href="#">黄水东调工程开水管道铺设工作...</a></li>
                                <li><a href="#">巩义恒星骨科设项目获备案...</a></li>
                                <li><a href="#">林州市五龙山度假旅游区项目备案</a></li>
                                <li><a href="#">文苑花园小区项目获备案</a></li>
                                <li><a href="#">圣庄园·东湖住宅建设项目获备案</a></li>
                            </ul>
                            <p class="read-more">
                                <a href="javascript:window.top.openapp('/index.php?g=Admin&m=ExecutingWeeklyReport&a=dj','251Admin','代建周报',true);" class="btn btn-link">更多...</a>
                            </p>
                        </div>
                    </div>
                </div>
                </if>
                <if condition="$_SESSION['department_role'] eq 1 or $_SESSION['department_role'] eq 2 or $_SESSION['department_role'] eq 5 or $_SESSION['department_role'] eq 0">
                <div class="col-md-4">
                    <div class="offer offer-radius offer-primary" id="sgzb">
                        <div class="shape">
                            <div class="shape-text">
                                top 5
                            </div>
                        </div>
                        <div class="offer-content">
                            <h3 class="lead" style="font-size:16px;">
                                施工单位周工作计划及完成情况小结
                            </h3>
                            <ul>
                                <li><a href="#">2017年第12周工作计划及完成... </a></li>
                            </ul>
                            <p class="read-more">
                                <a href="javascript:window.top.openapp('/index.php?g=Admin&m=ExecutingWeeklyReport&a=sg','250Admin','施工周报',true);" class="btn btn-link">更多...</a>
                            </p>
                        </div>
                    </div>
                </div>
                </if>
            </div>
            <div class="row hidden ">
                <div class="col-md-4">
                    <div class="offer offer-info">
                        <div class="shape">
                            <div class="shape-text">
                                top
                            </div>
                        </div>
                        <div class="offer-content">
                            <h3 class="lead">
                                本单位考勤记录
                            </h3>

                            <ul>
                                <li><a href="#">2017年3月份考勤表 </a></li>
                            </ul>
                            <p class="pull-right">
                                <a href="#" class="btn btn-link">更多...</a>
                            </p>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="offer offer-warning">
                        <div class="shape">
                            <div class="shape-text">
                                top 5
                            </div>
                        </div>
                        <div class="offer-content">
                            <h3 class="lead">
                                监理例会纪要
                            </h3>

                            <ul>
                                <li><a href="#">2017.2.1监理会议纪要</a></li>
                            </ul>
                            <p class="pull-right">
                                <a href="#" class="btn btn-link">更多...</a>
                            </p>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="offer offer-radius offer-danger">
                        <div class="shape">
                            <div class="shape-text">
                                top 5
                            </div>
                        </div>
                        <div class="offer-content">
                            <h3 class="lead">
                                代建例会纪要
                            </h3>

                            <ul>
                                <li><a href="#">2017.2.1代建例会纪要</a></li>
                            </ul>
                            <p class="pull-right">
                                <a href="#" class="btn btn-link">更多...</a>
                            </p>
                        </div>
                    </div>
                </div>
            </div>
            <!-- Main row -->
            <div class="row" style="display:none;">
                <!-- Left col -->
                <section class="col-lg-7 connectedSortable ui-sortable">
                    <!-- Custom tabs (Charts with tabs)-->
                    <div class="nav-tabs-custom" style="cursor: move;">
                        <!-- Tabs within a box -->
                        <ul class="nav nav-tabs pull-right ui-sortable-handle">
                            <li class="active"><a href="#revenue-chart" data-toggle="tab">区域图</a></li>
                            <li><a href="#sales-chart" data-toggle="tab">环图</a></li>
                            <li class="pull-left header"><i class="fa fa-inbox"></i> 考勤统计</li>
                        </ul>
                        <div class="tab-content no-padding">
                            <!-- Morris chart - Sales -->
                            <div class="chart tab-pane active" id="revenue-chart" style="position: relative; height: 300px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
                                <svg height="300" version="1.1" width="666" xmlns="http://www.w3.org/2000/svg" style="overflow: hidden; position: relative;">
                                    <desc style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">Created with Raphaël 2.1.0</desc>
                                    <defs style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></defs>
                                    <text x="50.5625" y="259" text-anchor="end" font="10px &quot;Arial&quot;" stroke="none" fill="#888888" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 12px; line-height: normal; font-family: sans-serif;" font-size="12px" font-family="sans-serif" font-weight="normal"><tspan dy="4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">0</tspan></text>
                                    <path fill="none" stroke="#aaaaaa" d="M63.0625,259H641" stroke-width="0.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <text x="50.5625" y="200.5" text-anchor="end" font="10px &quot;Arial&quot;" stroke="none" fill="#888888" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 12px; line-height: normal; font-family: sans-serif;" font-size="12px" font-family="sans-serif" font-weight="normal"><tspan dy="4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">7,500</tspan></text>
                                    <path fill="none" stroke="#aaaaaa" d="M63.0625,200.5H641" stroke-width="0.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <text x="50.5625" y="142" text-anchor="end" font="10px &quot;Arial&quot;" stroke="none" fill="#888888" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 12px; line-height: normal; font-family: sans-serif;" font-size="12px" font-family="sans-serif" font-weight="normal"><tspan dy="4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">15,000</tspan></text>
                                    <path fill="none" stroke="#aaaaaa" d="M63.0625,142H641" stroke-width="0.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <text x="50.5625" y="83.5" text-anchor="end" font="10px &quot;Arial&quot;" stroke="none" fill="#888888" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 12px; line-height: normal; font-family: sans-serif;" font-size="12px" font-family="sans-serif" font-weight="normal"><tspan dy="4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">22,500</tspan></text>
                                    <path fill="none" stroke="#aaaaaa" d="M63.0625,83.5H641" stroke-width="0.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <text x="50.5625" y="25" text-anchor="end" font="10px &quot;Arial&quot;" stroke="none" fill="#888888" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 12px; line-height: normal; font-family: sans-serif;" font-size="12px" font-family="sans-serif" font-weight="normal"><tspan dy="4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">30,000</tspan></text>
                                    <path fill="none" stroke="#aaaaaa" d="M63.0625,25H641" stroke-width="0.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <text x="534.9628645200487" y="271.5" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#888888" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 12px; line-height: normal; font-family: sans-serif;" font-size="12px" font-family="sans-serif" font-weight="normal" transform="matrix(1,0,0,1,0,8)"><tspan dy="4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">2017</tspan></text>
                                    <text x="277.9457017010936" y="271.5" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#888888" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 12px; line-height: normal; font-family: sans-serif;" font-size="12px" font-family="sans-serif" font-weight="normal" transform="matrix(1,0,0,1,0,8)"><tspan dy="4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">2016</tspan></text>
                                    <path fill="#74a5c1" stroke="none" d="M63.0625,217.4104C79.21385176184691,217.91740000000001,111.5165552855407,220.948675,127.66790704738762,219.4384C143.81925880923453,217.928125,176.12196233292832,207.57511147540984,192.27331409477523,205.3282C208.2491076852977,203.10571147540983,240.2006948663427,203.35772500000002,256.1764884568652,201.5608C272.15228204738764,199.763875,304.1038692284326,193.47297786885247,320.07966281895506,190.9528C336.23101458080197,188.40492786885247,368.5337181044958,181.182325,384.6850698663427,181.2886C400.8364216281896,181.394875,433.1391251518834,202.66209180327868,449.2904769137303,191.803C465.26627050425276,181.06194180327867,497.21785768529776,101.29188618784531,513.1936512758202,94.888C528.9938866950183,88.55448618784531,560.5943575334144,134.20465000000002,576.3945929526125,140.85340000000002C592.5459447144593,147.64990000000003,624.8486482381531,146.7151,641,148.669L641,259L63.0625,259Z" fill-opacity="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); fill-opacity: 1;"></path>
                                    <path fill="none" stroke="#3c8dbc" d="M63.0625,217.4104C79.21385176184691,217.91740000000001,111.5165552855407,220.948675,127.66790704738762,219.4384C143.81925880923453,217.928125,176.12196233292832,207.57511147540984,192.27331409477523,205.3282C208.2491076852977,203.10571147540983,240.2006948663427,203.35772500000002,256.1764884568652,201.5608C272.15228204738764,199.763875,304.1038692284326,193.47297786885247,320.07966281895506,190.9528C336.23101458080197,188.40492786885247,368.5337181044958,181.182325,384.6850698663427,181.2886C400.8364216281896,181.394875,433.1391251518834,202.66209180327868,449.2904769137303,191.803C465.26627050425276,181.06194180327867,497.21785768529776,101.29188618784531,513.1936512758202,94.888C528.9938866950183,88.55448618784531,560.5943575334144,134.20465000000002,576.3945929526125,140.85340000000002C592.5459447144593,147.64990000000003,624.8486482381531,146.7151,641,148.669" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <circle cx="63.0625" cy="217.4104" r="4" fill="#3c8dbc" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="127.66790704738762" cy="219.4384" r="4" fill="#3c8dbc" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="192.27331409477523" cy="205.3282" r="4" fill="#3c8dbc" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="256.1764884568652" cy="201.5608" r="4" fill="#3c8dbc" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="320.07966281895506" cy="190.9528" r="4" fill="#3c8dbc" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="384.6850698663427" cy="181.2886" r="4" fill="#3c8dbc" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="449.2904769137303" cy="191.803" r="4" fill="#3c8dbc" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="513.1936512758202" cy="94.888" r="4" fill="#3c8dbc" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="576.3945929526125" cy="140.85340000000002" r="4" fill="#3c8dbc" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="641" cy="148.669" r="4" fill="#3c8dbc" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <path fill="#eaf2f5" stroke="none" d="M63.0625,238.2052C79.21385176184691,237.9868,111.5165552855407,239.52145000000002,127.66790704738762,237.3316C143.81925880923453,235.14175,176.12196233292832,221.65594426229507,192.27331409477523,220.6864C208.2491076852977,219.72739426229506,240.2006948663427,231.46795,256.1764884568652,229.6174C272.15228204738764,227.76685,304.1038692284326,207.72728606557376,320.07966281895506,205.882C336.23101458080197,204.01643606557377,368.5337181044958,212.83375,384.6850698663427,214.774C400.8364216281896,216.71425,433.1391251518834,230.62202295081966,449.2904769137303,221.404C465.26627050425276,212.28617295081966,497.21785768529776,147.18252900552486,513.1936512758202,141.4306C528.9938866950183,135.74187900552485,560.5943575334144,169.23757857142857,576.3945929526125,175.6414C592.5459447144593,182.18752857142857,624.8486482381531,188.83315,641,193.2304L641,259L63.0625,259Z" fill-opacity="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); fill-opacity: 1;"></path>
                                    <path fill="none" stroke="#a0d0e0" d="M63.0625,238.2052C79.21385176184691,237.9868,111.5165552855407,239.52145000000002,127.66790704738762,237.3316C143.81925880923453,235.14175,176.12196233292832,221.65594426229507,192.27331409477523,220.6864C208.2491076852977,219.72739426229506,240.2006948663427,231.46795,256.1764884568652,229.6174C272.15228204738764,227.76685,304.1038692284326,207.72728606557376,320.07966281895506,205.882C336.23101458080197,204.01643606557377,368.5337181044958,212.83375,384.6850698663427,214.774C400.8364216281896,216.71425,433.1391251518834,230.62202295081966,449.2904769137303,221.404C465.26627050425276,212.28617295081966,497.21785768529776,147.18252900552486,513.1936512758202,141.4306C528.9938866950183,135.74187900552485,560.5943575334144,169.23757857142857,576.3945929526125,175.6414C592.5459447144593,182.18752857142857,624.8486482381531,188.83315,641,193.2304" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <circle cx="63.0625" cy="238.2052" r="4" fill="#a0d0e0" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="127.66790704738762" cy="237.3316" r="4" fill="#a0d0e0" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="192.27331409477523" cy="220.6864" r="4" fill="#a0d0e0" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="256.1764884568652" cy="229.6174" r="4" fill="#a0d0e0" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="320.07966281895506" cy="205.882" r="4" fill="#a0d0e0" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="384.6850698663427" cy="214.774" r="4" fill="#a0d0e0" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="449.2904769137303" cy="221.404" r="4" fill="#a0d0e0" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="513.1936512758202" cy="141.4306" r="4" fill="#a0d0e0" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="576.3945929526125" cy="175.6414" r="4" fill="#a0d0e0" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="641" cy="193.2304" r="4" fill="#a0d0e0" stroke="#ffffff" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                </svg><div class="morris-hover morris-default-style" style="left: 145.773px; top: 124px; display: none;">
                                    <div class="morris-hover-row-label">2011 Q3</div>
                                    <div class="morris-hover-point" style="color: #a0d0e0">
                                        Item 1:
                                        4,912
                                    </div><div class="morris-hover-point" style="color: #3c8dbc">
                                        Item 2:
                                        1,969
                                    </div>
                                </div>
                            </div>
                            <div class="chart tab-pane" id="sales-chart" style="position: relative; height: 300px;"><svg height="342" version="1.1" width="512" xmlns="http://www.w3.org/2000/svg" style="overflow: hidden; position: relative;"><desc style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">Created with Raphaël 2.1.0</desc><defs style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></defs><path fill="none" stroke="#3c8dbc" d="M348,243.33333333333331A93.33333333333333,93.33333333333333,0,0,0,436.2277551949771,180.44625304313007" stroke-width="2" opacity="0" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); opacity: 0;"></path><path fill="#3c8dbc" stroke="#ffffff" d="M348,246.33333333333331A96.33333333333333,96.33333333333333,0,0,0,439.06364732624417,181.4248826052307L475.6151459070204,194.03833029452744A135,135,0,0,1,348,285Z" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path><path fill="none" stroke="#f56954" d="M436.2277551949771,180.44625304313007A93.33333333333333,93.33333333333333,0,0,0,264.28484627831415,108.73398312817662" stroke-width="2" opacity="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); opacity: 1;"></path><path fill="#f56954" stroke="#ffffff" d="M439.06364732624417,181.4248826052307A96.33333333333333,96.33333333333333,0,0,0,261.59400205154566,107.40757544301087L222.42726941747117,88.10097469226493A140,140,0,0,1,480.3416327924656,195.6693795646951Z" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path><path fill="none" stroke="#00a65a" d="M264.28484627831415,108.73398312817662A93.33333333333333,93.33333333333333,0,0,0,347.97067846904883,243.333328727518" stroke-width="2" opacity="0" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); opacity: 0;"></path><path fill="#00a65a" stroke="#ffffff" d="M261.59400205154566,107.40757544301087A96.33333333333333,96.33333333333333,0,0,0,347.96973599126824,246.3333285794739L347.9575884998742,284.9999933380171A135,135,0,0,1,226.9120097954186,90.31165416754118Z" stroke-width="3" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path><text x="348" y="140" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" font-size="15px" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: 800; font-stretch: normal; font-size: 15px; line-height: normal; font-family: Arial;" font-weight="800" transform="matrix(1,0,0,1,0,0)"><tspan dy="140" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">In-Store Sales</tspan></text><text x="348" y="160" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#000000" font-size="14px" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Arial;" transform="matrix(1,0,0,1,0,0)"><tspan dy="160" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">30</tspan></text></svg></div>
                        </div>
                    </div>
                    <!-- /.nav-tabs-custom -->
                    <!-- quick email widget -->


                </section>
                <!-- /.Left col -->
                <!-- right col (We are only adding the ID to make the widgets sortable)-->
                <section class="col-lg-5 connectedSortable ui-sortable">

                    <!-- Map box -->
                    <!-- /.box -->
                    <!-- solid sales graph -->
                    <div class="box box-solid bg-teal-gradient">
                        <div class="box-header ui-sortable-handle" style="cursor: move;">
                            <i class="fa fa-th"></i>

                            <h3 class="box-title">进场人员分析</h3>

                            <div class="box-tools pull-right">
                                <button type="button" class="btn bg-teal btn-sm" data-widget="collapse">
                                    <i class="fa fa-minus"></i>
                                </button>
                                <button type="button" class="btn bg-teal btn-sm" data-widget="remove">
                                    <i class="fa fa-times"></i>
                                </button>
                            </div>
                        </div>
                        <div class="box-body border-radius-none">
                            <div class="chart" id="line-chart" style="height: 250px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
                                <svg height="250" version="1.1" width="447" xmlns="http://www.w3.org/2000/svg" style="overflow: hidden; position: relative; left: -0.90625px; top: -0.59375px;">
                                    <desc style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">Created with Raphaël 2.1.0</desc>
                                    <defs style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></defs>
                                    <text x="44.359375" y="211" text-anchor="end" font="10px &quot;Arial&quot;" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: &quot;Open Sans&quot;;" font-size="10px" font-family="Open Sans" font-weight="normal"><tspan dy="3.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">0</tspan></text>
                                    <path fill="none" stroke="#efefef" d="M56.859375,211H422" stroke-width="0.4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <text x="44.359375" y="164.5" text-anchor="end" font="10px &quot;Arial&quot;" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: &quot;Open Sans&quot;;" font-size="10px" font-family="Open Sans" font-weight="normal"><tspan dy="3.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">5,000</tspan></text>
                                    <path fill="none" stroke="#efefef" d="M56.859375,164.5H422" stroke-width="0.4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <text x="44.359375" y="118.00000000000001" text-anchor="end" font="10px &quot;Arial&quot;" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: &quot;Open Sans&quot;;" font-size="10px" font-family="Open Sans" font-weight="normal"><tspan dy="3.500000000000014" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">10,000</tspan></text>
                                    <path fill="none" stroke="#efefef" d="M56.859375,118.00000000000001H422" stroke-width="0.4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <text x="44.359375" y="71.5" text-anchor="end" font="10px &quot;Arial&quot;" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: &quot;Open Sans&quot;;" font-size="10px" font-family="Open Sans" font-weight="normal"><tspan dy="3.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">15,000</tspan></text>
                                    <path fill="none" stroke="#efefef" d="M56.859375,71.5H422" stroke-width="0.4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <text x="44.359375" y="25.00000000000003" text-anchor="end" font="10px &quot;Arial&quot;" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: end; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: &quot;Open Sans&quot;;" font-size="10px" font-family="Open Sans" font-weight="normal"><tspan dy="3.5000000000000284" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">20,000</tspan></text>
                                    <path fill="none" stroke="#efefef" d="M56.859375,25.00000000000003H422" stroke-width="0.4" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <text x="355.0057905528554" y="223.5" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: &quot;Open Sans&quot;;" font-size="10px" font-family="Open Sans" font-weight="normal" transform="matrix(1,0,0,1,0,7)"><tspan dy="3.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">2017</tspan></text>
                                    <text x="192.62247493924664" y="223.5" text-anchor="middle" font="10px &quot;Arial&quot;" stroke="none" fill="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-anchor: middle; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: &quot;Open Sans&quot;;" font-size="10px" font-family="Open Sans" font-weight="normal" transform="matrix(1,0,0,1,0,7)"><tspan dy="3.5" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">2016</tspan></text>
                                    <path fill="none" stroke="#efefef" d="M56.859375,186.2062C67.06379100850546,185.9458,87.47262302551641,187.775575,97.67703903402187,185.1646C107.88145504252734,182.553625,128.2902870595383,166.4743950819672,138.49470306804375,165.3184C148.58820151123936,164.17497008196722,168.77519839763062,178.173325,178.86869684082623,175.9669C188.96219528402185,173.760475,209.14919217041313,149.8671487704918,219.24269061360874,147.667C229.4471066221142,145.4426737704918,249.85593863912516,155.955625,260.0603546476306,158.269C270.2647706561361,160.582375,290.673602673147,177.16471967213116,300.87801868165246,166.174C310.9715171248481,155.30274467213115,331.15851401123933,77.67916919889502,341.252012454435,70.8211C351.23459333232074,64.03839419889503,371.19975508809233,103.97557445054947,381.1823359659781,111.61090000000002C391.38675197448356,119.41589945054947,411.79558399149454,127.33952500000001,422,132.5824" stroke-width="2" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                                    <circle cx="56.859375" cy="186.2062" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="97.67703903402187" cy="185.1646" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="138.49470306804375" cy="165.3184" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="178.86869684082623" cy="175.9669" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="219.24269061360874" cy="147.667" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="260.0603546476306" cy="158.269" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="300.87801868165246" cy="166.174" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="341.252012454435" cy="70.8211" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="381.1823359659781" cy="111.61090000000002" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></circle>
                                    <circle cx="422" cy="132.5824" r="4" fill="#efefef" stroke="#efefef" stroke-width="1" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
                                    </circle>
                                </svg><div class="morris-hover morris-default-style" style="display: none;"></div>
                            </div>
                        </div>
                        <!-- /.box-body -->
                        <!-- /.box-footer -->
                    </div>
                    <!-- /.box -->
                    <!-- Calendar -->
                    <!-- /.box -->

                </section>
                <!-- right col -->
            </div>
            <!-- /.row (main row) -->
        </div>
    </div>
    <div class="wrap hidden">
        <div id="home_toptip"></div>
        <h4 class="well">{:L('SYSTEM_NOTIFICATIONS')}</h4>
        <div class="home_info">
            <ul id="thinkcmf_notices">

                <li><span style="display: inline-block; vertical-align: middle;">。。。。</span></li>
            </ul>
        </div>
        <h4 class="well">{:L('SYSTEM_INFORMATIONS')}</h4>
        <div class="home_info">
            <ul>
                <volist name="server_info" id="vo">
                    <li><em>{$key}</em> <span>{$vo}</span></li>
                </volist>
            </ul>
        </div>
    </div>

    <script src="__PUBLIC__/js/common.js"></script>
    <!--<script src="__PUBLIC__/js/jquery-slimscroll/jquery.slimscroll.min.js"></script>-->
    <script src="__PUBLIC__/js/jsrender/jsrender.min.js"></script>
    <script type="text/x-jsrender" id="newsItem">
        <div class="item <%if #index ==0%>active<%/if%>">
            <img src="<%:thumbnail%>">
            <div class="carousel-caption">

                <h6>
                    <a href="javascript:window.top.openapp('/index.php?g=Admin&m=News&a=view&id=<%:id%>','245Admin','项目动态',true)" data-bind="<%:id%>">
                        <%:~subtitle(title,30)%>
                    </a>
                </h6>
                <p>
                    <%:~subcontent(content,80)%>
                    <a class="label label-primary" href="javascript:window.top.openapp('/index.php?g=Admin&m=News&a=view&id=<%:id%>','245Admin','项目动态',true)" data-bind="<%:id%>">
                        查看
                    </a>
                </p>
            </div>
        </div>
    </script>
    <script type="text/x-jsrender" id="newsItemTitle">
        <li data-target="#newsCarousel" data-slide-to="<%:#index%>" class="list-group-item <%if #index ==0%>active<%/if%>">
            <h6><%:~subtitle(title,30)%></h6>
        </li>
    </script>

    <script type="text/x-jsrender" id="noticItem">
        <li>
            <p>
                <a data-bind="<%:id%>" href="javascript:window.top.openapp('/index.php?g=Admin&m=News&a=noticeview&id=<%:id%>','245Admin','通知公告',true)"
                   title="<%:~subcontent(content)%>">
                    <%:~subtitle(title)%>
                </a>
            </p>
        </li>
    </script>
    <script type="text/javascript">
        $(function () {
            $('.carousel').carousel();
        })
        $(document).ready(function () {
            var clickEvent = false;
            $('#newsCarousel').carousel({
                interval: 4000
            }).on('click', '.list-group li', function () {
                clickEvent = true;
                $('.list-group li').removeClass('active');
                $(this).addClass('active');
            }).on('slid.bs.carousel', function (e) {
                if (!clickEvent) {
                    var count = $('.list-group').children().length - 1;
                    var current = $('.list-group li.active');
                    current.removeClass('active').next().addClass('active');
                    var id = parseInt(current.data('slide-to'));
                    if (count == id) {
                        $('.list-group li').first().addClass('active');
                    }
                }
                clickEvent = false;
            });
        });
        $(window).load(function () {
            var boxheight = $('#newsCarousel .carousel-inner').innerHeight();
            var itemlength = $('#newsCarousel .item').length;
            var triggerheight = Math.round(boxheight / itemlength + 1);
            $('#newsCarousel .list-group-item').outerHeight(triggerheight);
        });

        $(function () {
            $.views.settings.delimiters("<%", "%>");

            var myHelpers = {
                //截取内容
                subcontent: function (content, len) {
                    if (!len) { len = 100; }
                    var pureStr = $(content).text();
                    if (pureStr && pureStr.length > len) {
                        return pureStr.substring(0, len) + "...";
                    }
                    return pureStr;
                },
                //截取标题
                subtitle: function (title, len) {
                    if (!len) { len = 20; }
                    if (title && title.length > len) {
                        return title.substring(0, len - 2) + "...";
                    }
                    return title;
                }
            };


            //项目动态
            $.get("{:U('News/getNewsByAjax')}", function (data) {
                var result = JSON.parse(data);
                if (result.rtnData && result.rtnData.length > 0) {

                    var list = result.rtnData;
                    var tmpl = $.templates("#newsItem");
                    var htmlOutput = tmpl.render(list, myHelpers);
                    $("#newsCarousel .carousel-inner").html(htmlOutput);

                    var tplTitle = $.templates("#newsItemTitle");
                    var htmlOutputTitle = tplTitle.render(list, myHelpers);
                    $("#newsCarousel .list-group").html(htmlOutputTitle);
                }
            });

            //通知公告
            $.get("{:U('News/getNoticeByAjax')}", function (data) {
                var result = JSON.parse(data);
                if (result.rtnData && result.rtnData.length > 0) {

                    var list = result.rtnData;
                    //var tmpl = $.templates('<li><p><a data-bind="<%:id%>" href="/index.php?g=Admin&m=News&a=noticeview&id=<%:id%>" title="<%:~subcontent(content)%>"><%:~subtitle(title)%></a></p></li>');
                    var tmpl = $.templates("#noticItem");
                    var htmlOutput = tmpl.render(list, myHelpers);
                    $("#notices ").html(htmlOutput);
                }
            });

            //施工周报
            $.get("{:U('ExecutingWeeklyReport/getSgByAjax')}", function (data) {
                var result = JSON.parse(data);
                if (result.rtnData && result.rtnData.length > 0) {
                    var list = result.rtnData;
                    var tmpl = $.templates('<li><a href="javascript:window.top.openapp(\'/index.php?g=Admin&m=ExecutingWeeklyReport&a=sg_view&id=<%:id%>\',\'250Admin\',\'施工周报\',true);" title="<%:~subcontent(this_week_problem)%>">第(<%:code%>)期施工周报(<%:being_date%>)-(<%:end_date%>)(<%:department_name%>)</a></li>');

                    var htmlOutput = tmpl.render(list, myHelpers);
                    $("#sgzb ul").html(htmlOutput);
                }
                else {
                    $("#sgzb ul").html("");
                }
            });

            //代建周报
            $.get("{:U('ExecutingWeeklyReport/getDjByAjax')}", function (data) {
                var result = JSON.parse(data);
                if (result.rtnData && result.rtnData.length > 0) {

                    var list = result.rtnData;
                    var tmpl = $.templates('<li><a href="javascript:window.top.openapp(\'/index.php?g=Admin&m=ExecutingWeeklyReport&a=dj_view&id=<%:id%>\',\'251Admin\',\'代建周报\',true);" title="<%:~subcontent(this_week_problem)%>">第(<%:code%>)期代建周报(<%:being_date%>)-(<%:end_date%>)</a></li>');

                    var htmlOutput = tmpl.render(list, myHelpers);
                    $("#djzb ul").html(htmlOutput);
                }
                else {
                    $("#djzb ul").html("");
                }
            });

            //建设单位周报
            $.get("{:U('ConstructionWeeklyReport/getWeekReportAjax')}", function (data) {
                var result = JSON.parse(data);
                if (result.rtnData && result.rtnData.length > 0) {

                    var list = result.rtnData;

                    var tmpl = $.templates('<li><a href="javascript:window.top.openapp(\'/index.php?g=Admin&m=ConstructionWeeklyReport&a=view&id=<%:id%>\',\'252Admin\',\'建设周报\',true);" title="<%:real_name%>建设周报(<%:being_date%>)-(<%:end_date%>)">(<%:~subtitle(real_name,4)%>)建设周报(<%:being_date%>)-(<%:end_date%>)</a></li>');

                    var htmlOutput = tmpl.render(list, myHelpers);

                    $("#jszb ul").html(htmlOutput);
                }
                else {
                    $("#jszb ul").html("");
                }
            });

        });
    </script>
</body>
</html>